import axios from "axios";
const post = (file) => {
    const formData = new FormData();
    formData.append("file", file);
    return axios.post('http://localhost:9090/files/upload', formData,
        {
            headers: {
                'Content-Type': 'multipart/form-data'
            }
        })
};
export default post;

